﻿using UnityEngine;
using System.Collections;

public class PauseBtn : MonoBehaviour {

	public void TogglePause () {

		if(Time.timeScale > 0f)
			Time.timeScale = 0f;
		else
			Time.timeScale = 1f;
	}
}
